<?php
class ProfileModel extends Model {

	public function getAllDict() {
		$dict = array();
		$result = $this->selectAllIds('dictionary');
		foreach ($result as $row) {
			$dict[] = new Dictionary($row->id);
		}
		return $dict;
	}
}